
#ifndef LAYERPANEL_H
#define LAYERPANEL_H

#include <BLineEdit>
#include <BSpinBox>
#include <BGroupBox>
#include <BComboBox>
#include <BCheckBox>

#include "ImageLayer.h"

class LayerPanel : public BGroupBox
{
public:
	LayerPanel(BWidget* parent = 0);
	~LayerPanel();

protected:
	void slotAssetChanged();
	void slotFormatItemClicked(BObject* object, const BValue& value);
	void slotFilterItemClicked(BObject* object, const BValue& value);
	void slotSizeEditFinished(BObject* object, const BValue& value);

private:
	ImageLayer*		_imageLayer;

	BComboBox*		_blendComboBox;
	BButton*		_blendColorButton;
	BComboBox*		_filterComboBox;
	BComboBox*		_wrapComboBox;
	BCheckBox*		_mipmapCheckBox;

	BLineEdit*			_fileNameEdit;
	BComboBox*		_policyComboBox;
	BComboBox*		_formatComboBox;
	BSpinBox*		_widthSpinBox;
	BSpinBox*		_heightSpinBox;

	BImageHolder	_backupImage;
};

#endif
